/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package bpmlab.kivulifx.entity;

import javafx.beans.property.SimpleDoubleProperty;

/**
 *
 * @author Dedo
 */
public class CircleModel extends ShapeModel {

    private static final double DEFAULT_RADIUS = 40;
    private SimpleDoubleProperty radius = new SimpleDoubleProperty(DEFAULT_RADIUS);

    public CircleModel() {
    }

    public CircleModel(double radius) {
        this.radius.set(radius);
    }

    public double getRadius() {
        return radius.get();
    }

    public void setRadius(double radius) {
        this.radius.set(radius);
    }

    public SimpleDoubleProperty radiusProperty() {
        return radius;
    }

}
